package com.whiteape.book.contract;


import com.whiteape.book.model.bo.BaseMediaInfoBean;
import com.whiteape.book.model.bo.MediaInfoBo;
import com.whiteape.book.model.dto.CollectionMediaBean;
import com.whiteape.book.model.dto.MediaChapterBean;
import com.whiteape.book.model.dto.SiteSourceBean;
import com.whiteape.book.model.zssq.BookListBean;
import com.whiteape.book.ui.base.BaseContract;

import java.util.List;

/**
 * Created by newbiechen on 17-5-4.
 */

public interface BookDetailContract {
    interface View extends BaseContract.BaseView{
        void finishRefresh(CollectionMediaBean bean);
//        void finishRecommendBookList(List<BookListBean> beans);

        void gotCatalogEmpty();
        void waitToBookShelf();
        void errorToBookShelf();
        void succeedToBookShelf();
        void updateCatalog(List<MediaChapterBean> bookChapterList);
        void updateCategoryFailed();
    }

    interface Presenter extends BaseContract.BasePresenter<View>{
        void refreshBookDetail(CollectionMediaBean collectionMediaBean);
        //添加到书架上
        void addToBookShelf(CollectionMediaBean collectionMediaBean);

        void updateWebCatalog(CollectionMediaBean mediaBean);

    }
}
